* {
    padding: 0;
    margin: 0;
    list-style: none;
}

.box {
    height: 300px;
    width: 600px;
    border: 4px  rgb(213, 57, 57);
    border: dotted;
    margin: 30px auto;
    border-radius: 6px;
}

.box>ul {
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.box>ul>li {
    width: 200px;
    height: 100%;
    background: palegoldenrod;
    text-align: center;
    line-height: 60px;
    color: hotpink;
    float: left;
}

.box>ul>li.active {
    background: aquamarine;
}

.box>ol {
    width: 100%;
    height: 240px;
    position: relative;
}

.box>ol>li {
    width: 100%;
    height: 100%;
    background: cornflowerblue;
    color: rgb(48, 41, 41);
    position: absolute;
    left: 0;
    top: 0;
    line-height: 240px;
    text-align: center;
    display: none;
}


.box>ol>li.active {
    display: block;
}
.box>ol>li img{
    margin-top: 40px;
}
